﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" href="<?php echo $html->url('/img/admin_favicon.ico'); ?>"
type="image/x-icon"/> 
<title>
<?php echo $website_name.__(" | Adminstration Panel",true); ?></title>
<?php
echo $html->css('general_layout.css')."\n";
echo $html->css('tables.css')."\n";
echo $html->css('forms.css')."\n";
if(isset($CSS)){
   echo $html->css($CSS)."\n"; 
} 

echo $javascript->link('jquery-min.js')."\n";

if(isset($checkall_script) && ($checkall_script==true) )
echo $javascript->link('checkall.js')."\n";

?>
<!--[if lte IE 6]>
<?php
echo $html->css('ie.css')."\n";
?>
<![endif]-->

<meta name="description" content="The official blog of Nguyen Anh Tuan, a blogger in Vietnam. He is interested in Vietnam Online Marketing, SEO, Keywords research, Search Engine Optimize, Earn money online with Google Adsense. He still want to share his own life, experience on this blog." />
<meta name="keywords" content="online marketing,google adsense, seo, search engine optimize, seo vietnam, search engine optimize vietnam, earn money online, money talk, web development, personal experience, life and passion, miscellaneous, fun and cool" />
</head>
<body>
<div id="wrapper">
	<div id="header">
		<div id="logo_user_details">
			<div id="logo">
				<h1><a href="<?php echo $this->webroot; ?>"><?php echo  $website_name; ?></a><br/>
				<small>Administration Panel</small></h1>
			</div>
			<div id="user_details">
					<ul id="user_loged">
						<li>
						<?php echo __("Loged in as :",true); ?>
						<strong><?php echo $currentUserName; ?></strong>
						</li>
						<li>
							<a href="<?php echo $this->webroot; ?>"><?php echo __("View Website",true); ?></a>

						</li>						
						<li class="last">
							<?php echo $html->link('Log out', array('controller' => 'users', 'action' => 'logout')); ?>
						</li>					
					</ul>
			</div>			
		</div>
	</div>
	<?php 
		//Include the Menu here
		if(isset($menu_subactive)){
			echo $menu->renderAllMenu($nav_menu,$menu_parent,$menu_subactive);
		} else {
			echo $menu->renderAllMenu($nav_menu,$menu_parent,null);		
		}
	?>
	<div class="clear"></div>
	<div id="inner">
			<?php $session->flash(); ?>
			<?php echo $content_for_layout; ?>	
	</div>
	<div id="footer">
		<div id="footer_inner">
			<p class="copyright">
			<strong><?php echo  $website_name ?></strong> <?php echo __(" Administration Panel |",true) ?> © 2009. Powered by <a href="http://www.nganhtuan.com">Tuan Nguyen</a>
			</p>		
		</div>
	</div>
</div>
</body>
</html>